import easytrader
import time

user = easytrader.use('ht_client')
user.connect(r'D:\htzqzyb2\xiadan.exe')
user._refresh()
while(True):
    user.buy('603067',price=0,amount=100)
    user.sell('002299',price=0,amount=100)

    time.sleep(3)


